package com.ruoyi.law.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 流程主体对象 content_case_flow
 *
 * @author gyl
 * @date 2025-02-27
 */
public class ContentCaseFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流程id */
    private Long flowId;

    /** 执法机构id */
    @Excel(name = "执法机构id")
    private Long deptId;

    /** 执法机构名称 */
    @Excel(name = "执法机构名称")
    private String deptName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 负责人id */
    @Excel(name = "负责人id")
    private Long leaderId;

    /** 负责人名称 */
    @Excel(name = "负责人名称")
    private String leaderName;

    /** 案件地址 */
    @Excel(name = "案件地址")
    private String caseAddress;

    /** 案件类型id */
    @Excel(name = "案件类型id")
    private String caseTypeId;

    /** 案件状态(是否立案,取证，处理中，听证，执行，结束) */
    @Excel(name = "案件状态(是否立案,取证，处理中，听证，执行，结束)")
    private String caseStatus;

    /** 流程状态0.流程进行中1.流程结束 */
    @Excel(name = "流程状态0.流程进行中1.流程结束")
    private String state;

    /** 区域编码 */
    @Excel(name = "区域编码")
    private String areaCode;

    /** 流程完结时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "流程完结时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date caseEndTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setFlowId(Long flowId)
    {
        this.flowId = flowId;
    }

    public Long getFlowId()
    {
        return flowId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setphone(String phone)
    {
        this.phone = phone;
    }

    public String getphone()
    {
        return phone;
    }
    public void setLeaderId(Long leaderId)
    {
        this.leaderId = leaderId;
    }

    public Long getLeaderId()
    {
        return leaderId;
    }
    public void setLeaderName(String leaderName)
    {
        this.leaderName = leaderName;
    }

    public String getLeaderName()
    {
        return leaderName;
    }
    public void setCaseAddress(String caseAddress)
    {
        this.caseAddress = caseAddress;
    }

    public String getCaseAddress()
    {
        return caseAddress;
    }
    public void setCaseTypeId(String caseTypeId)
    {
        this.caseTypeId = caseTypeId;
    }

    public String getCaseTypeId()
    {
        return caseTypeId;
    }
    public void setCaseStatus(String caseStatus)
    {
        this.caseStatus = caseStatus;
    }

    public String getCaseStatus()
    {
        return caseStatus;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setAreaCode(String areaCode)
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode()
    {
        return areaCode;
    }
    public void setCaseEndTime(Date caseEndTime)
    {
        this.caseEndTime = caseEndTime;
    }

    public Date getCaseEndTime()
    {
        return caseEndTime;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("flowId", getFlowId())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append(" phone", getphone())
            .append("leaderId", getLeaderId())
            .append("leaderName", getLeaderName())
            .append("caseAddress", getCaseAddress())
            .append("caseTypeId", getCaseTypeId())
            .append("caseStatus", getCaseStatus())
            .append("state", getState())
            .append("areaCode", getAreaCode())
            .append("caseEndTime", getCaseEndTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
